package com.example.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;


@Data
@TableName("farms")
public class farms extends Model<farms> {
    /**
      * 主键
      */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
      * 助农兴农标题 
      */
    private String name;

    /**
      * 助农兴农内容 
      */
    private String content;

    /**
      * 点赞数 
      */
    private Integer praise;

    /**
      * 助农兴农图片 
      */
    private String imgs;

    /**
      * 创建时间 
      */
    private String createTime;

}